
<!-- 引入基类模板 -->
{extend name='public/base' /}

<!-- 主体部分 -->
{block name='content'}

    <!-- 功能操作区一 -->
    <form class="layui-form toolbar">
        <div class="layui-form-item">        
            <!-- 专利编号 -->
            <div class="layui-inline">
                <label class="layui-form-label w-auto">专利编号：</label>
                <div class="layui-input-inline">
                    <input type="text" name="patent_number" placeholder="请输入专利编号" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">专利名称：</label>
                <div class="layui-input-inline">
                    <input type="text" name="patent_name" placeholder="请输入专利名称" autocomplete="off" class="layui-input">
                </div>
                <label class="layui-form-label w-auto">客户名称：</label>
                <div class="layui-input-inline">
                    
                    <input placeholder="请选择客户" class="layui-input" id="selectInput" autocomplete="off" value="">
                    <input type="hidden" name="company_id" id="company_id" value="{$info['company_id']|default=''}">

                </div>
            </div>
            <div class="layui-inline">
                <div class="layui-input-inline" style="width: auto;">
                    {widget:query name="查询"}
                </div>
            </div>
        </div>
        <div class="layui-btn-container">
            <button type="button" class="layui-btn-update layui-btn layui-btn-normal layui-btn-sm" attr_type="1">缴费</button>
            <button type="button" class="layui-btn-update layui-btn layui-btn-warm layui-btn-sm" attr_type="4">自缴</button>
            <button type="button" class="layui-btn-update layui-btn layui-btn-primary layui-btn-sm" attr_type="6">自动放弃</button>

            <button type="button" class="layui-btn-self layui-btn layui-btn-normal layui-btn-sm">自缴费通知</button>
            <button type="button" class="layui-btn-company layui-btn layui-btn-normal layui-btn-sm">公司缴费通知</button>
            <button type="button" class="layui-btn-year layui-btn layui-btn-normal layui-btn-sm">年费通知</button>

            <a href="javascript:" class="layui-btn btnOption layui-btn-sm btnAdd" id="add" data-param="[]" lay-event="add">
                <i class="layui-icon layui-icon-add-1"></i> 添加
            </a>

            <a href="javascript:" class="layui-btn layui-btn-danger layui-btn-sm btnOption" id="dall" lay-event="dall">
                <i class="layui-icon layui-icon-delete"></i> 批量删除
            </a>
        </div>
    </form>

    <!-- TABLE渲染区 -->
    <table class="layui-hide" id="tableList" lay-filter="tableList"></table>

    <!-- 操作功能区二 -->
    <script type="text/html" id="toolBar">
        <button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="pay">缴费</button>
        {widget:edit name="编辑"}
        {widget:delete name="删除"}
    </script>
<style type="text/css">
.layui-table-fixed.layui-table-fixed-r table.layui-table tr td div {
    width: auto;
}
.layui-table-view .layui-table {
    width: -webkit-fill-available;
}
</style>
{/block}

